package org.lcc.model.dto;

import lombok.Data;
import java.util.List;
import java.time.LocalDateTime;

@Data
public class CertificateTemplateDTO {
    private Integer templateId;
    private String templateName;
    private String backgroundPath;
    private String pdfBase64;
    private String creatorId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private List<CertificateField> fields;

    @Data
    public static class CertificateField {
        private String type;
        private String fieldKey;
        private String label;
        private Double percentX;
        private Double percentY;
        private Integer fontSize;
        private String color;
        private String fontWeight;
        private String previewText;
    }
} 